home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
Macintosh Programmer’s Workshop
/
MPW 3.1
/
MPW
/
Interfaces
/
CIncludes
/
Scrap.h
< prev
next >
Wrap
Text File
|
1990-12-13
|
953b
|
52 lines
/************************************************************
Created: Thursday, September 7, 1989 at 6:48 PM
Scrap.h
C Interface to the Macintosh Libraries
Copyright Apple Computer, Inc. 1985-1989
All rights reserved
************************************************************/
#ifndef __SCRAP__
#define __SCRAP__
#ifndef __TYPES__
#include <Types.h>
#endif
struct ScrapStuff {
long scrapSize;
Handle scrapHandle;
short scrapCount;
short scrapState;
StringPtr scrapName;
};
typedef struct ScrapStuff ScrapStuff;
typedef ScrapStuff *PScrapStuff;
#ifdef __cplusplus
extern "C" {
#endif
pascal PScrapStuff InfoScrap(void)
= 0xA9F9;
pascal long UnloadScrap(void)
= 0xA9FA;
pascal long LoadScrap(void)
= 0xA9FB;
pascal long GetScrap(Handle hDest,ResType theType,long *offset)
= 0xA9FD;
pascal long ZeroScrap(void)
= 0xA9FC;
pascal long PutScrap(long length,ResType theType,Ptr source)
= 0xA9FE;
#ifdef __cplusplus
}
#endif
#endif